<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
<meta charset="utf-8" />
<title>${session.SOFT_NAME }_智能办公系统</title>
<meta name="description" content="Dashboard" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%include("../../../resapi/style.html"){}%>
<link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
</head>
<body style="overflow-y: auto;">
	<div class="page-body" style="padding: 4px 0px 0px 0px">
		<div class="main-container container-fluid">
			<div class="page-container">
				<div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
					<div class="tabbable">
						<ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
							<li class=""><a href="/app/core/document/documentflow" aria-expanded="false">公文流程管理 </a></li>
							<li class="active"><a href="/app/core/document/documentflow?view=create" aria-expanded="true">公文流程创建</a></li>
						</ul>
						<div class="tab-content tabs-flat" style="padding: 0px;">
						<div class="row">
								<div class="col-md-12 col-sm-12 col-xs-12">
									<div class="widget" style="margin: 0px;">
										<div class="widget-body no-padding">
											<div class="widget-main ">
												<div class="panel-group accordion" id="accordion" style="margin-bottom: 0px;">
													<div class="panel panel-default">
														<div class="panel-heading ">
															<h4 class="panel-title">
																<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> 基本信息 </a>
															</h4>
														</div>
														<div id="collapseOne" class="panel-collapse collapse in">
															<div class="panel-body border-red" style="padding: 0px; padding-bottom: 15px">
																<form class="form-horizontal form-bordered" id="form" data-bv-message="This value is not valid" data-bv-feedbackicons-valid="glyphicon glyphicon-ok"
																	data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackicons-validating="glyphicon glyphicon-refresh">
																	<input type="hidden" id="bpmSortId" name="bpmSortId">
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">排序号 ：</label>
																		<div class="col-sm-2">
																			<input type="number" class="form-control" id="sortNo" name="sortNo" placeholder="排序号" data-bv-digits="true" data-bv-digits-message="排序号必须是正整数" data-bv-notempty="true"
																				data-bv-notempty-message="排序号不能为空"> <input type="hidden" class="form-control" id="flowId" name="flowId">
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">流程名称 ：</label>
																		<div class="col-sm-5">
																			<input type="text" maxlength="50" class="form-control" id="flowName" name="flowName" placeholder="流程名称" data-bv-notempty="true" data-bv-notempty-message="流程名称不能为空">
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">流程分类：</label>
																		<div class="col-sm-3" style="position: relative;">
																			<select id="documentType" name="documentType" class="form-control">
																			<option value="1">收文流程</option>
																			<option value="2">发文流程</option>
																			</select>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">流程表单：</label>
																		<div class="col-sm-3" style="position: relative;">
																			<select id="formId" name="formId" class="form-control">
																			</select>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">流程说明：</label>
																		<div class="col-sm-5">
																			<textarea class="form-control" id="remark" name="remark" cols="5"></textarea>
																		</div>
																	</div>
																</form>
															</div>
														</div>
													</div>
													<div class="panel panel-default" style="margin-bottom: 0px;">
														<div class="panel-heading">
															<h4 class="panel-title">
																<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> 高级设置 </a>
															</h4>
														</div>
														<div id="collapseTwo" class="panel-collapse collapse">
															<div class="panel-body border-palegreen" style="padding: 0px; padding-bottom: 15px; padding-top: 15px">
																<form class="form-horizontal form-bordered" id="form2" data-bv-message="This value is not valid" data-bv-feedbackicons-valid="glyphicon glyphicon-ok"
																	data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackicons-validating="glyphicon glyphicon-refresh">
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">文号规则 ：</label>
																		<div class="col-sm-5">
																			<input type="text" class="form-control" id="docNumRule" name="docNumRule" placeholder="[D]-[U]-[F]-[T]">
																		</div>
																		<div class="col-sm-2">
																			<a class="btn btn-maroon tooltip-maroon" data-toggle="tooltip" data-placement="top" data-original-title="[U]:创建人姓名</br>[D]:创建人部门名称</br>[L]:创建人职务</br>[F]:流程名称</br>[T]:创建时间">说明</a>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">起始文号 ：</label>
																		<div class="col-sm-5">
																			<input type="text" class="form-control" id="beginDocNum" name="beginDocNum" placeholder="起始文号">
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">委托规则 ：</label>
																		<div class="col-sm-5">
																			<select class="form-control" id="freeToOther" name="freeToOther" style="border-radius: 0px;">
																				<option value="0">禁止委托</option>
																				<option value="1">自由委托</option>
																				<!-- 																			<option value="2">同级委托</option> -->
																			</select>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">表单美化 ：</label>
																		<div class="col-sm-5">
																			<div class="radio" style="display: inline-block;">
																				<label> <input name="autoStyle" type="radio" class="colored-success" checked="checked" value="0" /> <span class="text">启用</span>
																				</label> <label> <input name="autoStyle" type="radio" class="colored-success" value="1" /> <span class="text">不启用</span>
																				</label>
																			</div>

																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">BPM缓存 ：</label>
																		<div class="col-sm-5">
																			<div class="control-group">
																				<div class="radio" style="display: inline-block;">
																					<label> <input name="flowCache" type="radio" class="inverted" checked="checked" value="0"> <span class="text">不启用</span>
																					</label> <label> <input name="flowCache" type="radio" value="1" class="inverted"> <span class="text">启用</span>
																					</label>
																				</div>
																			</div>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">打印隐藏字段 ：</label>
																		<div class="col-sm-10">
																			<div id="printFieldDiv" class="checkbox"></div>
																		</div>
																	</div>
																</form>
															</div>
														</div>
													</div>
													<div class="panel panel-default" style="margin-bottom: 0px;">
														<div class="panel-heading">
															<h4 class="panel-title">
																<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree"> 管理权限设置 </a>
															</h4>
														</div>
														<div id="collapseThree" class="panel-collapse collapse">
															<div class="panel-body border-magenta" style="padding: 0px; padding-bottom: 15px; padding-top: 15px">
																<form class="form-horizontal form-bordered" id="form3" data-bv-message="This value is not valid" data-bv-feedbackicons-valid="glyphicon glyphicon-ok"
																	data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackicons-validating="glyphicon glyphicon-refresh">
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">附件权限：</label>
																		<div class="col-sm-5">
																			<div class="control-group">
																				<div class="radio" style="display: inline-block;">
																					<label> <input id="attachPriv" name="attachPriv" type="radio" checked="checked" value="1"> <span class="text">允许打印 </span>
																					</label>
																				</div>
																				<div class="radio" style="display: inline-block;">
																					<label> <input id="attachPriv" name="attachPriv" type="radio" class="inverted" value="0"> <span class="text">不允许打印</span>
																					</label>
																				</div>
																			</div>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">打印权限：</label>
																		<div class="col-sm-5">
																			<div class="control-group">
																				<div class="radio" style="display: inline-block;">
																					<label> <input id="printFlag" name="printFlag" type="radio" checked="checked" value="1"> <span class="text">允许打印 </span>
																					</label>
																				</div>
																				<div class="radio" style="display: inline-block;">
																					<label> <input id="printFlag" name="printFlag" type="radio" class="inverted" value="0"> <span class="text">不允许打印</span>
																					</label>
																				</div>
																			</div>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">查询权限：</label>
																		<div class="col-sm-5">
																			<textarea class="form-control" id="queryPriv" name="queryPriv" cols="5" readonly="readonly"></textarea>
																		</div>
																		<div class="col-md-2">
																			<a class="selectbutton" opt-id="queryPriv" onclick="selectUser(this,'true');">选择</a>
																			<a style="cursor: pointer;margin-left: 10px;" onclick="clearSelect('queryPriv')">清空</a>
																		</div>
																	</div>
																	<div class="form-group">
																		<label class="col-sm-1 control-label no-padding-right">管理权限：</label>
																		<div class="col-sm-5">
																			<textarea class="form-control" id="managePriv" name="managePriv" cols="5" readonly="readonly"></textarea>
																		</div>
																		<div class="col-md-2">
																			<a class="selectbutton" opt-id="managePriv" onclick="selectUser(this,'true');">选择</a>
																			<a style="cursor: pointer;margin-left: 10px;" onclick="clearSelect('managePriv')">清空</a>
																		</div>
																	</div>
																</form>
															</div>
														</div>
													</div>
												</div>
											</div>
												<div class="col-sm-12" align="center" style="height: 60px;padding-top:20px;">
														<a id="createbut" href="javascript:void(0);" class="btn btn-primary">新&nbsp;&nbsp;建</a>
												</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<%include("../../../resapi/sysjs.html"){}%>
<script type="text/javascript" src="/gobal/js/page/document/documentcreate.js"></script>
</body>
</html>